import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Vuetify from 'vuetify'
import 'vuetify/dist/vuetify.min.css'
import '@mdi/font/css/materialdesignicons.css'
import './styles/fonts.css'
import api from './api'

Vue.config.productionTip = false
Vue.use(Vuetify)
Vue.prototype.$api = api

new Vue({
  router,
  vuetify: new Vuetify({
    theme: {
      themes: {
        light: {
          // Brand palette based on provided spec
          primary: '#5C8F5A', // ENERGY
          secondary: '#5E8197', // WATER
          accent: '#B7ACA1', // DISTRICT COOLING
          info: '#CBD3DB', // PETROLEUM PRODUCTS
          success: '#5C8F5A',
          warning: '#B7ACA1',
          error: '#EF5350'
        }
      }
    }
  }),
  render: h => h(App)
}).$mount('#app')
